#pragma once
#include <string>

class MakePacket
{
public:
    MakePacket();

    ~MakePacket();

    bool Run(const std::string & path, const std::string& name);
    bool Working();
#define MAKE_ERROR 1
#define MAKE_OK 0
#define MAKE_IDENTICAL -1
    int MakeNewPacket(int64_t newPacket);

    bool Md5(const std::string& path, std::string& md5);
    bool UpdateVersionXml(int64_t packet);
private:

    struct MakePacketImpl;
    MakePacketImpl* m_impl{ nullptr };
};

